
import axios, {Axios} from 'axios'
const context = "/ucenter"

/**
 * 获取 SysPhoneTextMessage 分页列表
*/
export function getSysPhoneTextMessagePagination(data: any) {
  return axios.get(`${context}/sysPhoneTextMessage/pagination`, { params: data });
}


/**
 * 获取 SysPhoneTextMessage 所有数据
*/
export function getSysPhoneTextMessageAllList(data: any) {
  return axios.get(`${context}/sysPhoneTextMessage/all`, { params: data });
}


/**
 * 获取 SysPhoneTextMessage 详情
*/
export function getSysPhoneTextMessageDetailById(id: any) {
  return axios.get(`${context}/sysPhoneTextMessage/${id}`, { params:{id} });
}


/**
 * 新增 SysPhoneTextMessage
*/
export function addSysPhoneTextMessage(data: any) {
  return axios.post(`${context}/sysPhoneTextMessage`, data);
}

/**
 * 修改 SysPhoneTextMessage
*/
export function updateSysPhoneTextMessage(data: any) {
  return axios.put(`${context}/sysPhoneTextMessage`, data);
}

/**
 * 删除 SysPhoneTextMessage
*/
export function batchRemoveSysPhoneTextMessage(data: any) {
  return axios.post(`${context}/sysPhoneTextMessage/batchRemove`, data);
}

    